﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
/// <summary>
///ControlBase 的摘要说明
/// </summary>
public class ControlBase : UserControl {
    public ControlBase() {
        //
        //TODO: 在此处添加构造函数逻辑
        //
    }

    public virtual PageBase CurPage {
        get {
            return this.Page as PageBase;
        }
    }



    public string LeftTreeStyle {
        get {

            return TrainingsApp.WebModel.Storage.UserCookieFacade.GetLeftTreeState() == 1 ? "" : "display:none;";
        }
    }
}